/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.csource.manage.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 案源登记流程记录表 case_source_flow_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月12日
 */
@Data
@Table(name = "csource.case_source_flow_record")
public class CaseSourceFlowRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 流程节点名称
     */
    @Column(name = "flow_stage_name")
    private String flowStageName;

    /**
     * 案源id
     */
    @Column(name = "case_source_id")
    private String caseSourceId;

    /**
     * 流程开始时间
     */
    @Column(name = "flow_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date flowStartTime;

    /**
     * 流程结束时间
     */
    @Column(name = "flow_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date flowEndTime;

    /**
     * 流程阶段类型
     */
    @Column(name = "flow_stage_type")
    private String flowStageType;

    /**
     * 流程阶段内容
     */
    @Column(name = "flow_stage_content")
    private String flowStageContent;

    private static final long serialVersionUID = 1L;

}